package com.neusoft.Shixun.service;

import com.neusoft.Shixun.po.CaretakerClient;
import com.neusoft.Shixun.po.Client;
import com.neusoft.Shixun.po.ResponseBean;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface CaretakerClientService {
    ResponseBean<List<CaretakerClient>> getAllCaretakerClients();
    ResponseBean<CaretakerClient> getCaretakerClientById(Integer relationId);
    ResponseBean<Integer> addCaretakerClient(Integer clientId, Integer caretakerId);
    ResponseBean<Integer> updateCaretakerClient(CaretakerClient caretakerClient);
    ResponseBean<Integer> deleteCaretakerClient(Integer relationId);
    ResponseBean<List<Client>> getCaretakerClientByCaretakerId(Integer id, String clientName);
}